/**
 * 定义集合常量(这些常量只能由MyParamUtil初始化或获取)
 * @author 董一华
 * @since 1.00
 * @version 1.00 
 * 
 * 修订列表： v1.00 2009-10-24 
 * 			修订人：董一华 
 * 			修订内容：初始版本 
 */

package com.zjht.gmcc.bean.util;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;

import com.zjht.gmcc.bean.model.CM_FeedBackCode;
import com.zjht.gmcc.bean.model.MailList;
import com.zjht.gmcc.bean.model.ProductPara;
import com.zjht.gmcc.bean.model.Workflow;

public class MyParam {
	public static String IMG_FILE[] = { ".jpg", ".gif", ".png" };
	public static final int DAYS_IN_YEAR[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };// 平年每月天数
	public static final int DAYS_IN_LEAPYEAR[] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 };// 闰年每月天数

	public static Map<String, String> hAreaIDToAreaName = new LinkedHashMap<String, String>();// 地市ID->地市中文名称
	public static ArrayList<String> AreaID = new ArrayList<String>();// 地市ID
	public static ArrayList<String> AreaName = new ArrayList<String>();// 地市中文名称
	public static ArrayList<String> AreaCode = new ArrayList<String>();// 地市编码
	public static ArrayList<String> AreaShortCN = new ArrayList<String>();// 地市中文简称
	public static Map<String, String> hZone = new LinkedHashMap<String, String>();// 区域ID->区域中文名称

	public static Map<String, String> hDeptIDToDeptName = new LinkedHashMap<String, String>();// 部门ID->部门中文名称
	public static Map<Integer, Map<String, String>> hOrgtypeDept = new LinkedHashMap<Integer, Map<String, String>>();// OrgtypeID-><顶级部门ID,部门中文名称>

	public static Map<String, String> hOrgaCodeToAreaID = new HashMap<String, String>();// 组织所在地市编号
	public static Map<String, Integer> hOrgaCodeToOrgaTypeID = new HashMap<String, Integer>();// 组织类型编号
	public static Map<String, String> hOrgaCodeToShortName = new HashMap<String, String>();// 组织简称
	public static Map<Integer, String> hOrgIDToShortName = new HashMap<Integer, String>();// 组织简称
	public static Map<Integer, String> hOrgIDToCode = new HashMap<Integer, String>();// 组织编码
	public static Map<String, String> hOrgaCodeToParentOrgaCode = new HashMap<String, String>();// 父组织编号

	public static Map<String, String> hOperMenu = new HashMap<String, String>();// 用户菜单

	// 当前营销机型A/B/C类产品ID

	public static Map<String, String> hParameter = new HashMap<String, String>();// Parameter表:paraid->paraname
	public static Map<String, LinkedHashMap<String, String>> hParameterParent = new HashMap<String, LinkedHashMap<String, String>>();// Parameter表父子关系:parentid->子参数集(LinkedHashMap(ID,值))

	public static ArrayList<String> arrSSO = new ArrayList<String>();// 单点登录MD5集合

	public static Map<String, String> hChannelType = new LinkedHashMap<String, String>();// 渠道类型

	public static Map<String, LinkedHashMap<String, String>> hProductSubType = new LinkedHashMap<String, LinkedHashMap<String, String>>();// 终端子类型：ProductType-><ProductSubTypeCode,ProductSubTypeName>

	public static Map<String, LinkedHashMap<Integer, Workflow>> hWorkflow = new HashMap<String, LinkedHashMap<Integer, Workflow>>();// 工作流：FlowType-><NodeID->Workflow对象>
	public static Map<Integer, String> hCityType = new LinkedHashMap<Integer, String>();// 城市类别

	// 以下为业务表使用到的状态集合
	public static Map<String, String> hAjaxSQL = new HashMap<String, String>();// 供ajax使用的SQL：<业务代码,sql>

	public static Map<String, String> hTrueOrFalse = new LinkedHashMap<String, String>();// 是否

	public static Map<String, String> hMonthZD = new LinkedHashMap<String, String>();// 终端公司报表中使用的月份(从2011年8月起)<2011-08,2011年8月>
	
	public static Map<String, String> hHallType = new LinkedHashMap<String, String>();//服务厅类型(分远近)
}
